<?php
/**
 * Code Sniffer Coding Standard.
 *
 * @internal
 * Copyright (c) 2009, Jacob Santos
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *  * Redistributions of source code must retain the above copyright notice,
 *    this list of conditions and the following disclaimer.
 *  * Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 *  * Neither the name of the DragonU nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 *
 * @author Jacob Santos <wordpress@santosj.name>
 * @copyright 2009 Jacob Santos <wordpress@santosj.name>
 * @license http://www.opensource.org/licenses/bsd-license.php New BSD license
 * @package CorePress
 * @subpackage CodingStandard
 */

/**
 * Code Sniffer Coding Standard class.
 *
 * @package CorePress
 * @subpackage CodingStandard
 */
class PHP_CodeSniffer_Standards_CorePress_CorePressCodingStandard extends PHP_CodeSniffer_Standards_CodingStandard
{
	public function getIncludedSniffs()
	{
		return array(
			'Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php',
			'Generic/Sniffs/Classes/DuplicateClassNameSniff.php',
			'Generic/Sniffs/Strings/UnnecessaryStringConcatSniff.php',
			'Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php',
			'Generic/Sniffs/Metrics/CyclomaticComplexitySniff.php',
			'Generic/Sniffs/Metrics/NestingLevelSniff.php',
			'Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php',
			'Generic/Sniffs/Formatting/SpaceAfterCastSniff.php',
			'Generic/Sniffs/Formatting/DisallowMultipleStatementsSniff.php',
			'Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php',
			'Generic/Sniffs/Comments/TodoSniff.php',
			'Generic/Sniffs/CodeAnalysis/ForLoopShouldBeWhileLoopSniff.php',
			'Generic/Sniffs/CodeAnalysis/UnnecessaryFinalModifierSniff.php',
			'Generic/Sniffs/CodeAnalysis/UnconditionalIfStatementSniff.php',
			'Generic/Sniffs/CodeAnalysis/JumbledIncrementerSniff.php',
			'Generic/Sniffs/CodeAnalysis/ForLoopWithTestFunctionCallSniff.php',
			'Generic/Sniffs/CodeAnalysis/EmptyStatementSniff.php',
			'PEAR/Sniffs/Classes/ClassDeclarationSniff.php',
			'PEAR/Sniffs/Commenting/ClassCommentSniff.php',
			'PEAR/Sniffs/Commenting/FileCommentSniff.php',
			'PEAR/Sniffs/Commenting/FunctionCommentSniff.php',
			'PEAR/Sniffs/Commenting/InlineCommentSniff.php',
			'PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php',
			'PEAR/Sniffs/Files/IncludingFileSniff.php',
			'PEAR/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php',
			'PEAR/Sniffs/Functions/FunctionDeclarationSniff.php',
			'PEAR/Sniffs/Functions/ValidDefaultValueSniff.php',
			'PEAR/Sniffs/NamingConventions/ValidVariableNameSniff.php',
			'PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php',
			'PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php',
			'Zend/Sniffs/Files/ClosingTagSniff.php',
			'Squiz/Sniffs/Arrays/ArrayBracketSpacingSniff.php',
			'Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php',
			'Squiz/Sniffs/Classes/DuplicatePropertySniff.php',
			'Squiz/Sniffs/Classes/ClassDeclarationSniff.php',
			'Squiz/Sniffs/Classes/LowercaseClassKeywordsSniff.php',
			'Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php',
			'Squiz/Sniffs/Classes/ValidClassNameSniff.php',
			'Squiz/Sniffs/Commenting/BlockCommentSniff.php',
			'Squiz/Sniffs/Commenting/DocCommentAlignmentSniff.php',
			'Squiz/Sniffs/Commenting/EmptyCatchCommentSniff.php',
			'Squiz/Sniffs/Commenting/FunctionCommentSniff.php',
			'Squiz/Sniffs/Commenting/FunctionCommentThrowTagSniff.php',
			'Squiz/Sniffs/Commenting/VariableCommentSniff.php',
			'Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php',
			'Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php',
			'Squiz/Sniffs/ControlStructures/LowercaseDeclarationSniff.php',
			'Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php',
			'Squiz/Sniffs/ControlStructures/ElseIfDeclarationSniff.php',
			'Squiz/Sniffs/PHP/CommentedOutCodeSniff.php',
			'Squiz/Sniffs/PHP/DiscouragedFunctionsSniff.php',
			'Squiz/Sniffs/PHP/EvalSniff.php',
			'Squiz/Sniffs/PHP/InnerFunctionsSniff.php',
			'Squiz/Sniffs/PHP/LowercasePHPFunctionsSniff.php',
			'Squiz/Sniffs/Scope/MethodScopeSniff.php',
			'Squiz/Sniffs/Scope/MemberVarScopeSniff.php',
			'Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php',
			'Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php',
			'Squiz/Sniffs/WhiteSpace/CastSpacingSniff.php',
			'Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php',
			'Squiz/Sniffs/WhiteSpace/SemicolonSpacingSniff.php',
		);
	}

	public function getExcludedSniffs()
	{
		return array();
	}
}